package org.dna;

import org.dna.metronomo.persistence.IActivityDAO;

/**
 * Extension of the MetroApplication to give the possibility of configure the
 * context used in tests.
 *
 * @author andrea
 */
public class MetroApplicationTestFacility extends MetroApplication {

    IActivityDAO activityDAO;

    @Override
    public IActivityDAO getActivityDAO() {
        return activityDAO;
    }

    public void setActivityDAO(IActivityDAO dao) {
        activityDAO = dao;
    }
}
